import { NgModule }      from '@angular/core';
import { CommonModule }  from '@angular/common';
import { ModalModule } from 'ng2-bootstrap/ng2-bootstrap';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

import { NgaModule } from 'app/theme/nga.module';
import { UserRoutingModule } from './user.routing';
import { UserComponent } from './user.component';
import {
  UserCertificateReissueComponent,
  UserUIMComponent,
  UserCertificateRenewComponent,
  UserCompanyChangeComponent,
  UserExamRegisterComponent
} from './apply';

import { UserCertManComponent } from './info-record';

import { PublishUserComponent } from './publish';

const COMPONENTS = [
  UserComponent,
  UserCertificateReissueComponent,
  UserUIMComponent,
  UserCertificateRenewComponent,
  UserCompanyChangeComponent,
  UserExamRegisterComponent,
  PublishUserComponent,
  UserCertManComponent
];


@NgModule({
  imports: [
    CommonModule,
    NgaModule,
    FormsModule,
    ReactiveFormsModule,
    ModalModule,
    UserRoutingModule
  ],
  declarations: [
    ...COMPONENTS
  ],
  providers: [
  ],
  exports: [
    ...COMPONENTS
  ]
})
export class UserModule {
}
